﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Login.aspx.cs" Inherits="FrameWork.web.Login" %>

<html>
<head>
    <link rel="stylesheet" href="css/cnnetstars.css" type="text/css" />
<link rel="shortcut icon" href="images/Icon.ico" type="image/x-icon" />
    <script language="javascript" src="js/checkform.js"></script>

    <title>
        <%=FrameName %>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body scroll="no" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
    <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="90">
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="555" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td width="17" rowspan="3">
                &nbsp;
            </td>
            <td width="192" rowspan="2">
                <img src="images/login_01.jpg" width="192" height="255">
            </td>
            <td width="329" valign="top" background="images/login_04.jpg">
                <img src="images/login_03.jpg" width="329" height="68">
            </td>
            <td width="17" rowspan="3">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td valign="top" background="images/login_04.jpg">
                <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td height="20">
                            &nbsp;
                        </td>
                    </tr>
                </table>
                <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <form id="Form1" name="login" method="post" runat="server" defaultfocus="LoginName"
                        onsubmit="javascript:return checkForm(this)">
                        <tr>
                            <td width="4%">
                                &nbsp;
                            </td>
                            <td width="24%">
                                用户名：
                            </td>
                            <td width="51%">
                                <asp:TextBox ID="LoginName" class="text_input" title="请输入帐号~!" runat="server" Style="width: 138px;"
                                    TabIndex="1"></asp:TextBox>
                            </td>
                            <td width="21%" rowspan="3">
                                &nbsp;<asp:ImageButton disabled="disabled" ID="Button1" runat="server" ImageUrl="images/login_06.jpg"
                                    OnClick="Button1_Click" TabIndex="4" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                密&nbsp;&nbsp;&nbsp;&nbsp;码：
                            </td>
                            <td>
                                <asp:TextBox ID="LoginPass" runat="server" class="text_input" title="请输入密码~!" TextMode="Password"
                                    Style="width: 138px;" TabIndex="2"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                验证码：
                            </td>
                            <td>
                                <asp:TextBox ID="code_op" class="text_input" runat="server" Columns="4" title="请输入验证码~4:!"
                                    TabIndex="3"></asp:TextBox>请输入<img src="" onload="javascript:Open_Submit();" id="ImageCheck"
                                        align="absmiddle" style="cursor: pointer" width="45" height="20" onclick="javascript:ChangeCodeImg();"
                                        title="点击更换验证码图片!" />
                            </td>
                        </tr>
                    </form>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <img src="images/login_02.jpg" width="521" height="53">
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <img src="images/login_05.jpg" width="555" height="62">
            </td>
        </tr>
    </table>
</body>
</html>

<script language="JavaScript" type="text/javascript"><!-- 

    // The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu) 

    // See: http://www.msc.cornell.edu/~houle/javascript/randomizer.html 

    rnd.today=new Date(); 

    rnd.seed=rnd.today.getTime(); 

    function rnd() { 

　　　　rnd.seed = (rnd.seed*9301+49297) % 233280; 

　　　　return rnd.seed/(233280.0); 

    }; 

    function rand(number) { 

　　　　return Math.ceil(rnd()*number); 

    }; 

    // end central randomizer. --> 

</script>

<script language="javascript" type="text/javascript">

    
        ChangeCodeImg();
        
    
    function ChangeCodeImg()
    {
             a = document.getElementById("ImageCheck");
             a.src = "inc/CodeImg.aspx?"+rand(10000000);
             document.getElementById("Button1").disabled = true;
    }
    
    function Open_Submit()
    {
        document.getElementById("Button1").disabled = "";
    }
    
    if(top!=self)
    {
        top.location.href = "login.aspx";
    }
    //alert(navigator.appVersion);
    if(navigator.appVersion.indexOf("MSIE")   ==   -1   ){   
        //alert("提醒 : 本管理系统建议议采用Internet Explorer 5.5 (或以上版本) 的浏览器。请开启浏览器的 Cookies 与 JavaScript 功能。");   
    }   
    
</script>

